package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.extension.log.FieldDesc;
import com.chenfan.mcn.model.base.BaseOwnerEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author chenguopeng
 * @Date 2021/6/7 14:32
 * Description: AE季度单
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ae_quarterly_table")
public class AeQuarterlyTable extends BaseOwnerEntity {

	private static final long serialVersionUID = 5953455120781193472L;

	/**
	 * AE提成单编号
	 */
	@FieldDesc(value = "AE提成单编号")
	private String aeQuarterlyExcuteCode;


	/**
	 * 月（季）度编号
	 */
	@FieldDesc(value = "月（季）度编号")
	@NotNull
	private String aeQuarterlyCode;

	/**
	 * AE提成单状态：0-新建，1-已发送，2-已确认，3-已发放, 9-已作废
	 */
	private Integer status;

	/**
	 * 发放时间
	 */
	@FieldDesc(value = "发放时间")
	private Date issueDate;

	/**
	 * 备注
	 */
	@FieldDesc(value = "备注")
	private String remark;
}
